package com.dmlll.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dmlll.VO.HospitalPurchaseInputVO;
import com.dmlll.domain.DrugMessage;
import com.dmlll.domain.HospitalCloseDetail;
import com.dmlll.domain.Purchase;
import com.dmlll.domain.PurchaseDrupDetail;
import com.dmlll.mapper.HospitalCloseDetailMapper;
import com.dmlll.service.HospitalCloseDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author dmLll
 * @since 2021-03-31
 */
@Service
public class HospitalCloseDetailServiceImpl extends ServiceImpl<HospitalCloseDetailMapper, HospitalCloseDetail> implements HospitalCloseDetailService {

    @Override
    public IPage<PurchaseDrupDetail> getAvaCatalog(IPage<PurchaseDrupDetail> iPage, Purchase purchase,
                                                   DrugMessage drugMessage,
                                                   PurchaseDrupDetail purchaseDrupDetail,
                                                   HospitalPurchaseInputVO hospitalPurchaseInput,
                                                   Integer[] drugMessageIds, Integer[] purchaseIds) {
        return getBaseMapper().getAvaCatalog(iPage,purchase,drugMessage,purchaseDrupDetail,hospitalPurchaseInput,drugMessageIds,purchaseIds);
    }
}
